package com.zhsource.user.service;

import com.github.pagehelper.PageInfo;
import com.zhsource.user.domain.User;
import com.zhsource.user.query.UserQuery;

import java.util.List;

/**
 * <p>@ClassName：IUserService
 * <p>@Date 2023/10/17  23:16
 *
 * @Author zzl
 **/
public interface IUserService {
    List<User> list();

    User selectById(Long id);

    PageInfo<User> page(UserQuery userQuery);

    void update(User user);

    void insert(User user);

    void delete(Long id);

    void batchDel(List<Long> ids);
}
